package cn.source.system.service.impl;

import cn.source.system.domain.HouseCity;
import cn.source.system.mapper.HouseCityMapper;
import cn.source.system.service.IHouseCityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("houseCityService")
public class HouseCityServiceImpl implements IHouseCityService {


    @Resource
    private HouseCityMapper houseCityMapper;
    @Override
    public Long insertCity(HouseCity houseCity){
       return houseCityMapper.insertCity(houseCity);
    }

    public List<HouseCity> getCityList(){
        return houseCityMapper.getCityList();
    }
}
